package model

import (
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ MallBannerModel = (*customMallBannerModel)(nil)

type (
	// MallBannerModel is an interface to be customized, add more methods here,
	// and implement the added methods in customMallBannerModel.
	MallBannerModel interface {
		mallBannerModel
	}

	customMallBannerModel struct {
		*defaultMallBannerModel
	}
)

// NewMallBannerModel returns a model for the database table.
func NewMallBannerModel(conn sqlx.SqlConn) MallBannerModel {
	return &customMallBannerModel{
		defaultMallBannerModel: newMallBannerModel(conn),
	}
}
